/* 常用 flex */
@mixin flx-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

@mixin flx-direction-center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@mixin flx-direction-between {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

@mixin flx-justify-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

@mixin flx-align-center {
	display: flex;
	align-items: center;
}

* {
	margin: 0;
}

/**
 * 适配 iphone 底部安全区（指示条，配合index.html <meta name="viewport" ... />使用
 */
// @supports (bottom: env(safe-area-inset-bottom)) {
// 	#app {
// 		padding-bottom: constant(safe-area-inset-bottom);
// 		padding-bottom: env(safe-area-inset-bottom);
// 	}
// }

#app {
	color: #333333;
	font-size: 16px;
	font-family: Noto Sans SC-Medium, Noto Sans SC;
}
.avatar {
	border: 2px solid white;
	background: white;
}

.t_block {
	display: inline-block;
	width: 4px;
	height: 14px;
	margin-right: 7px;
	border-radius: 2px;
	background: #f84b9b;
}

.video_auth_box {
	.my_swiper {

	}
	.swipe_item {
		width: 120px !important;
	}
}

.my_swiper_box {
	.my_swiper {
		height: calc(100vh - 125px - env(safe-area-inset-bottom));
		color: white;
		overflow: hidden;
		border-radius: 15px;
	}

	.swipe_item {
		font-size: 20px;
		text-align: center;
		overflow: hidden;
		// background: rgba(0, 0, 0, 0.7);

		.img {
			width: 100%;
			height: calc(100vh - 125px - env(safe-area-inset-bottom));
			border-radius: 15px;
			object-fit: cover;
		}

		.user_info {
			position: absolute;
			left: 15px;
			bottom: 30px;
			font-size: 18px;
			text-align: left;
			text-shadow: 2px 3px 6px #616060;
			div {
				.vip {
					width: 16px;
					height: 14px;
					margin-left: 10px;
					vertical-align: middle;
				}
				.certification {
					width: 54px;
					height: 20px;
					margin-left: 10px;
					vertical-align: middle;
				}
			}
			.info {
				margin-top: 20px;
				margin-bottom: 15px;
			}
			p {
				font-size: 14px;
			}
		}
		.avatar {
			position: absolute;
			right: 8px;
			bottom: 248px;
			z-index: 3;
		}
		.tel {
			position: absolute;
			right: 8px;
			bottom: 30px;
			z-index: 3;
			width: 40px;
			height: 40px;
			img {
				width: 100%;
				height: 100%;
			}
		}
		.tel_bottom_text {
			position: absolute;
			right: 15px;
			bottom: 14px;
			font-size: 12px;
			color: #f54386;
		}
		.share {
			@include flx-direction-center;
			position: absolute;
			right: 10px;
			bottom: 110px;
			z-index: 3;
			font-size: 13px;
			img {
				width: 40px;
				height: 40px;
				margin-bottom: 3px;
				object-fit: cover;
			}
		}
		.collection {
			bottom: 180px;
			img {
				width: 40px;
				height: 40px;
			}
		}
	}
}
